<!--<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	
		<script>
				//getElementByName
			window.onload = function(){
				//返回节点列表，数组
				var aInput = document.getElementsByName("user");
				console.log(aInput);//NodeList 
				
				console.log(aInput.length);
				console.log(aInput[0].value);
				console.log(aInput[1].value);
				console.log(aInpu1t[2].value);
				console.log(aInput[3].value);
			};
		</script>
	</head>
	<body>
		<input type="text" name="user" value="1" />
		<input type="text" name="user" value="2" />
		<input type="text" name="user" value="3" />
		<input type="text" name="user" value="4" />
	</body>
</html>-->
